How does php determine whether a user accesses a mobile wap or a computer directly. Now we have a lot of smartphone users, and many friends visit the website using their mobile phones, this is a problem. if the access to a pc-based mobile phone is
How can I determine whether the access end is a computer or a mobile phone ?. Currently, there are three opinions on the Internet: one is the User-Agent sent based on the browser, but this method obviously does not work. although some people list
[Editor's note] compared with the desktop end, users are increasingly accessing webpages from mobile devices, which is nothing new. However, developers still need to work hard to make the website better adapt to the current mobile devices. At the
With the popularity of mobile devices, the site will also usher in more and more mobile device access. Adapt to the PC's page, many times the user is not friendly to the phone, then sometimes we need to determine whether users use mobile phone
Ziadoz a list of PHP resources that are maintained on GitHub, including libraries, frameworks, templates, security, code Analysis, logs, third-party libraries, configuration tools, Web tools, books, ebooks, classic blogs, and more. Bó Lè has
With the popularity of mobile devices, the site will also usher in more and more mobile device access. Adapt to the PC's page, many times the user is not friendly to the phone, then sometimes we need to determine whether users use mobile phone
Now we have a lot of smartphone users, and there are also many friends who visit the website using their mobile phones to access them directly. this is a problem. if it is a pc-based mobile phone, it will definitely be difficult to see that the
Dependency ManagementDependency and Package Management Library
Composer/packagist: A package and dependency manager
Composer Installers: A multi-frame Composer Library Installer
Pickle: a php extension installer
Other
Other frameworksOther web development frameworks
Symfony cmf-Create a custom CMS Content management framework
KNP rad bundle-symfony 2 Fast Application (RAD) Pack
Framework ComponentsStandalone components from the Web development
In the previous case, we used to determine whether a user accesses a mobile phone or a computer, and then display the corresponding page to the user. Initially, js was used, but the accuracy was not high. finally, PHP was used for this purpose.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.